<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="static/html5shiv.js"></script>
<script type="text/javascript" src="static/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="static/video/css/video-js.min.css">
<script type="text/javascript" src="static/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="static/video/js/video.min.js"></script>
<script type="text/javascript" src="static/video/js/videojs-ie8.min.js"></script>
<script type="text/javascript" src="static/layer/2.4/layer.js"></script>
<script>
	videojs.option.flash.swf = "static/video/js/video-js.swf";
</script>
<!--[if IE 6]>
<script type="text/javascript" src="static/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title><%=request.getParameter("title")%>|大岭山中学网盘_视频播放</title>
<style type="text/css">
body{
	background: black;
}
.main-center{
	text-align: center; /*让div内部文字居中*/
	background-color: #fff;
	border-radius: 20px;
	width: 1200px;
	height: 700px;
	margin: auto;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
</style>
</head>
  
<body>
<div class="main-center">
	<div class="errorMsg" style="display: none;"></div>
	<div class="video" style="display: block;">
		<video id="my_video" class="video-js vjs-big-play-centered" controls preload="auto"
		  	width="1200" height="700" data-setup='{"techOrder":["html5"],["flash"],["other supported tech"]}'>
		  	<source src="/rs/<%=request.getParameter("url")%>" type="video/mp4">
		</video>
	</div> 
</div>
<%--  <script type="text/javascript">
$(function(){
	$.ajax({
	  type: "post",
	  url: "/nebula/file/play-video.action",
	  data: {
	  	fileid : <%=request.getParameter("fileid")%>
	  },
	  dataType: "json",
	  	success: function(_data){
	  		if(_data.status == 0){
	  			var src = "/rs/" + _data.data;
	  			/* $(".video video").find("source").prop("src",src); */
	  			$(".video video").html('<source src="'+src+'" type="video/mp4">');
	  			
	  		}else{
	  			$(".errorMsg").show();
	  			$(".video").hide();
	  			$(".errorMsg").html(_data.msg);
	  		}
	  	}
	});
});
</script> --%>
</body>
</html>
